#ifndef SERVERPACKETHANDLER_H_
#define SERVERPACKETHANDLER_H_

#include "PacketHandler.h"

class ServerPacketHandler : public PacketHandler {
	public:
		ServerPacketHandler();

		// case ID_REMOTE_DISCONNECTION_NOTIFICATION:
			virtual void handleRemoteDisconnectNotification(Packet* packet);
		// case ID_REMOTE_CONNECTION_LOST:
			virtual void handleRemoteConnectionLost(Packet* packet);
		// case ID_REMOTE_NEW_INCOMING_CONNECTION:
			virtual void handleRemoteIncomingConnection(Packet* packet);
		// case ID_CONNECTION_REQUEST_ACCEPTED:
			virtual void handleConnectionAccepted(Packet* packet);
		// case ID_NEW_INCOMING_CONNECTION:
			virtual void handleIncomingConnection(Packet* packet);
		// case ID_NO_FREE_INCOMING_CONNECTIONS:
			virtual void handleNoIncomingConnections(Packet* packet);
		// case ID_DISCONNECTION_NOTIFICATION:
			virtual void handleDisconnectNotification(Packet* packet);
		// case ID_CONNECTION_LOST:
			virtual void handleConnectionLost(Packet* packet);
		// case ID_CONNECTED_PONG:
			virtual void handlePong(Packet* packet);
		
		virtual ~ServerPacketHandler();
};

#endif /*SERVERPACKETHANDLER_H_*/
